import QtQuick 2.2
import QtQuick.Window 2.1

Window {
    visible: true
    width: 360
    height: 360

    signal send();
    onSend: console.log("send info");

    MouseArea {
        id: ma;
        anchors.fill: parent;

        onClicked: {
            console.log("ahhahahah");
        }

        Component.onCompleted: {
            ma.clicked.connect(send);
        }
    }
}
